package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 hc_keshi
 * 
 * @author ruoyi
 * @date 2023-02-23
 */
public class HcKeshi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 科室编号 */
    @Excel(name = "科室编号")
    private String code;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String name;

    /** 负责人名字 */
    @Excel(name = "负责人名字")
    private String pName;

    /** 负责人联系电话 */
    @Excel(name = "负责人联系电话")
    private String pPhone;

    /** 归属库 */
    @Excel(name = "归属库")
    private String belong;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setpPhone(String pPhone) 
    {
        this.pPhone = pPhone;
    }

    public String getpPhone() 
    {
        return pPhone;
    }
    public void setBelong(String belong) 
    {
        this.belong = belong;
    }

    public String getBelong() 
    {
        return belong;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("pName", getpName())
            .append("pPhone", getpPhone())
            .append("belong", getBelong())
            .toString();
    }
}
